<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>

<body>
    <div>今天是JQuery的第一天</div>
    <script src="./jquery-3.6.0.js"></script>
    <script>
        $("div").css("width", "300px")
        $("div").css("height", "300px")
        $("div").css("lineHeight", "300px")
        $("div").css("textAlign", "center")
        $("div").css("margin", "100px auto")
        $("div").css("backgroundColor", "red")
    </script>
</body>

</html>